SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE VIEW dbo.vweRoles
AS
SELECT idRol AS id, descripcion, nombre
FROM  dbo.tb_Roles


GO
GRANT SELECT ON  [dbo].[vweRoles] TO [AdministracionSagenet]
GRANT INSERT ON  [dbo].[vweRoles] TO [AdministracionSagenet]
GRANT DELETE ON  [dbo].[vweRoles] TO [AdministracionSagenet]
GRANT UPDATE ON  [dbo].[vweRoles] TO [AdministracionSagenet]
GRANT SELECT ON  [dbo].[vweRoles] TO [PersonalDocenteDireccion]
GRANT SELECT ON  [dbo].[vweRoles] TO [SoloVer]
GO
